package com.zelix;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Enumeration;
import java.util.Iterator;

public class f6 {

    private h6 a;
    private h6 b;
    private static String z[];

    public f6(Object obj) {
        a = new h6(this, null, obj, null);
        b = a;
    }

    static h6 a(f6 f6_1) {
        return f6_1.a;
    }

    static void a(f6 f6_1, h6 h6_1) {
        f6_1.a(h6_1);
    }

    public void a(Object obj) {
        b = h6.a(b, obj);
    }

    public void b(Object obj) {
        label0:
        {
            if (b != a) {
                b = h6.a(h6.a(b), obj);
                if (hs.c == 0)
                    break label0;
            }
            throw new z0(z[4]);
        }
    }

    public void a() {
        label0:
        {
            h6 h6_1 = h6.a(b);
            if (h6_1 != null) {
                b = h6_1;
                if (hs.c == 0)
                    break label0;
            }
            throw new z0(z[3]);
        }
    }

    public boolean b() {
        return b == a;
    }

    public Iterator c() {
        return new i6(this, this);
    }

    private void a(h6 h6_1) {
        h6 h6_2;
        if (h6_1 == null)
            throw new IllegalArgumentException(z[0]);
        if (h6_1 == a)
            throw new z0(z[2]);
        h6_2 = h6_1;

        while (h6_2 != null && h6_2 != a)
            h6_2 = h6.a(h6_2);
        if (h6_2 != a) {
            throw new z0(z[1]);
        } else {
            h6 h6_3 = h6.a(h6_1);
            boolean flag = h6.a(h6_3, h6_1);
        }
    }

    public Enumeration d() {
        ArrayList arraylist;
        Iterator iterator;
        int i;
        i = hs.c;
        arraylist = new ArrayList();
        iterator = c();
        while (iterator.hasNext()) {
            arraylist.add(((h6) iterator.next()).c());
        }
        return Collections.enumeration(arraylist);
    }

    private static String z(char[] chs) {
        byte key = 0;
        for (int i = 0; i < chs.length; i++) {
            switch (i % 5) {
                case 0:
                    key = 0x36;
                    break;
                case 1:
                    key = 55;
                    break;
                case 2:
                    key = 99;
                    break;
                case 3:
                    key = 10;
                    break;
                case 4:
                    key = 112;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static {
        String as[];
        as = new String[5];
        as[0] = z("xB\017fPXX\007o".toCharArray());
        as[1] = z("xX\007oPXX\027*\021\026Z\006g\022SECe\026\026c\021o\025".toCharArray());
        as[2] = z("uV\rd\037B\027\021o\035YA\006*\002YX\027".toCharArray());
        as[3] = z("dX\f~PXX\007oP^V\020*\036Y\027\023k\002SY\027".toCharArray());
        as[4] = z("uV\rd\037B\027\002n\024\026D\nh\034_Y\004*\004Y\027\021e\037B".toCharArray());
        z = as;

    }
}